Feature: Member set Question
  In order to set question in voting application
  As a member
  I want to try to set message for question

@member_set_question
Scenario:  Member want to set Question
    Given the following user record
    |firstname|lastname|surname|login|email| password|password_confirmation| role |
    |user|user|user|user|user@sad.com|user1234|user1234|member|
    |member|member|member|member|member@sad.com|user1234|user1234|member|
    Given the following category record
    |title|
    |A|
    |B|
    And I login as "member" with password "user1234"
    Then I should see "You are login as member member"
    And I visit "My Question" page by clicking "my question" link
    Then I should see "My Question" form
    And I select "A" from "category"
    And I fill in "message" with "This is a test?"
    When I press "OK"
    Then I should see "Your question has been added"

